package com.ishow.noah.manager

import com.ishow.noah.enties.Sample
import com.ishow.noah.modules.androidx.camerax.SampleCameraXFragment
import com.ishow.noah.modules.canvas.effects.SampleCanvasEffectsFragment
import com.ishow.noah.modules.service.cycle.ServiceCycleFragment

/**
 * Created by yuhaiyang on 2017/10/12.
 * 管理器
 */

object SampleManager {


    val samples: MutableList<Sample>
        get() {
            val list = ArrayList<Sample>()
            list.add(Sample.instance("服务启动", ServiceCycleFragment::class.java))
            list.add(Sample.instance("Canvas-Effects", SampleCanvasEffectsFragment::class.java))
            list.add(Sample.instance("CameraX", SampleCameraXFragment::class.java))
            return list
        }
}
